package tgc.rj.garbage;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

public class PmbhActivity extends AppCompatActivity implements View.OnClickListener {
    private LinearLayout jk;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_pmbh);
        jk = findViewById(R.id.jk);
        jk.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.jk:
                Intent intent = new Intent(PmbhActivity.this,MainActivity.class);
                startActivity(intent);
                finish();
                break;
        }
    }
}
